package com.whf.service.impl;

import com.whf.dataobject.SellerInfo;
import com.whf.repository.SellerInfoRepository;
import com.whf.service.SellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2018/7/18 0018.
 */
@Service
public class SellerInfoServiceImpl implements SellerService {
   @Autowired
   private SellerInfoRepository repository;

    @Override
    public SellerInfo findSellerInfoByOpenId(String openid) {
        SellerInfo sellerInfo = repository.findSellerInfoByOpenid(openid);
        return sellerInfo;


    }
}
